﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace mBlog.Models
{
    public class Post : Model
    {
        public long ID { get; set; }
        public string Title { get; set; }
        public string UrlName { get; set; }
        public string Excerpt { get; set; }
        public string Content { get; set; }
        public DateTime PostedTime { get; set; }
        public DateTime? PublishedTime { get; set; }
        public bool IsPublished { get; set; }

        public IList<Category> Categories { get; set; }
        public IList<Comment> Comments { get; set; }
        public IList<Tag> Tags { get; set; }
    }
}